<ul class="layui-nav layui-nav-tree" id="leftContent" lay-filter="">
  <li class="layui-nav-item layui-nav-itemed"><a href="javascript:;"><i class="layui-icon layui-icon-app"></i>系统管理<i class="layui-icon layui-icon-down layui-nav-more"></i></a>
    <dl class="layui-nav-child">
      <?php if(SysRolCk("notice_index")){ ?>
      <dd><a style="margin-Left:5px" href="javascript:;" onclick="loadMain('<{CAUrl('notice','index')}>')"><i class="layui-icon layui-icon-notice"></i> 系统公告</a></dd>
      <?php  }  if(SysRolCk("cache_index")){ ?>
      <dd><a style="margin-Left:5px" href="javascript:;" onclick="loadMain('<{CAUrl('cache','index')}>')"><i class="layui-icon layui-icon-theme"></i> 缓存管理</a></dd>
      <?php  }  if(SysRolCk("system_index")){ ?>
      <dd><a style="margin-Left:5px" href="javascript:;" onclick="loadMain('<{CAUrl('system','index')}>')"><i class="layui-icon layui-icon-set"></i> 系统设置</a></dd>
      <?php  }  if(SysRolCk("log_index")){ ?>
      <dd><a style="margin-Left:5px" href="javascript:;" onclick="loadMain('<{CAUrl('log','index')}>')"><i class="layui-icon layui-icon-list"></i>操作日志</a></dd>
      <?php  }  if(SysRolCk("visit_index")){ ?>
      <dd><a style="margin-Left:5px" href="javascript:;" onclick="loadMain('<{CAUrl('visit','index')}>')"><i class="layui-icon layui-icon-date"></i> 访问统计</a></dd>
      <?php  }  if(SysRolCk("attment_index")){ ?>
      <dd><a style="margin-Left:5px" href="javascript:;" onclick="loadMain('<{CAUrl('attment','index')}>')"><i class="layui-icon layui-icon-release"></i> 附件列表</a></dd>
      <?php  } ?>
    </dl>
  </li>
  <li class="layui-nav-item layui-nav-itemed"><a href="javascript:;"><i class="layui-icon layui-icon-username"></i> 管理员管理<i class="layui-icon layui-icon-down layui-nav-more"></i></a>
    <dl class="layui-nav-child">
      <?php if(SysRolCk("adminuser_index")){ ?>
      <dd><a style="margin-Left:5px" href="javascript:;" onclick="loadMain('<{CAUrl('adminuser','index')}>')"><i class="layui-icon layui-icon-vercode"></i> 用户</a></dd>
      <?php  }  if(SysRolCk("admingroup_index")){ ?>
      <dd><a style="margin-Left:5px" href="javascript:;" onclick="loadMain('<{CAUrl('admingroup','index')}>')"><i class="layui-icon layui-icon-home"></i> 角色</a></dd>
      <?php  } ?>
    </dl>
  </li>
 
</ul>
<script>
  layui.define(function () {
    var element = layui.element;
  });
</script>